﻿using System.Collections.Concurrent;

namespace MachineVision.API.SignalR
{
    public interface IClient
    {
        /// <summary>
        /// 强类型中心
        /// </summary>
        /// <param name="user"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        Task ReceiveMessage(string user, string message);

        Task ReceiveMessage(ConcurrentDictionary<string, string> user, string message);

        Task ReceiveMessage(string message);
    }
}
